<?php	  
class Categories_IndexController extends Zend_Controller_Action
{
	public function init(){
	 $this->_helper->layout()->setLayout('catalog_baiviet');
	}
	
	public function indexAction()
	{	
		$limit = $_REQUEST['limit'];
		$start =0;
		$parent =$_REQUEST['parent'];
		$catego = new Categories_Model_DbTable_Categories();
		$this->view->Listscate = $catego->listAllCat($limit, $start, $parent);	
		
	/*
		echo "<pre>";
		print_r($this->view->Lists);
		echo "</pre>";
		//exit;
	*/
	
	}

	
	
	
}
?>

